package com.harmontronics.hanma.paas.paas.token;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author ldb
 */
@Data
@AllArgsConstructor
public class UserInfo {

    public static final String HASH_KEY_USER_ID = "userId";

    public static final String HASH_KEY_TENANT_ID = "tenantId";

    public static final String HASH_KEY_ADMIN = "admin";

    public static final String HASH_KEY_USER_NAME = "userName";

    public static final String HASH_KEY_TENANT_NAME="tenantName";

    public static final String HASH_KEY_JOB_NUMBER="jobNumber";

    private Long userId;

    private Long tenantId;

    private String tenantName;

    private boolean admin;

    private String userName;

    private String jobNumber;
}

